package com.huike.pmps.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * 作者：谌贵斌(黑桃K)
 * 日期: 2888-08-08
 * 老师QQ: 272488352
 * 官方QQ交流群: 377748272
 * 刀客程序员官网：http://www.daoke360.com
 * 刀客程序员淘宝旗舰店：https://daoke360.taobao.com/
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("p_supplier")
public class Supplier {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("供应商使用状态")
    private String supplierState;
    @ApiModelProperty("供应商名称")
    private String supplierName;
    @ApiModelProperty(value = "供应商类型ID", hidden = true)
    private Integer supplierTypeId;
    @ApiModelProperty(value = "供应商类型名称", hidden = true)
    private String supplierTypeName;
    @ApiModelProperty("省行政区域ID")
    private Integer provinceId;
    @ApiModelProperty("省份名称")
    private String provinceName;
    @ApiModelProperty("城市行政区域ID")
    private Integer cityId;
    @ApiModelProperty("城市名称")
    private String cityName;
    @ApiModelProperty("区/县行政区域ID")
    private Integer areaId;
    @ApiModelProperty("区/县名称")
    private String areaName;
    @ApiModelProperty("区域(省、市)")
    private String region;
    @ApiModelProperty("详细地址(省、市、区/县、街道详细地址)")
    private String address;
    @ApiModelProperty("联系人")
    private String contacts;
    @ApiModelProperty("联系电话")
    private String phone;
    @ApiModelProperty("企业邮箱")
    private String email;
    @ApiModelProperty("协议编号")
    private String agreementNo;
    @ApiModelProperty("协议类型")
    private String agreementType;
    @ApiModelProperty("协议开始日期")
    private Date agreementStartTime;
    @ApiModelProperty("协议结束日期")
    private Date agreementEndTime;
    @ApiModelProperty("预计月承接量")
    private Integer estimateMonthCapacity;
    @ApiModelProperty("服务类型ID集合")
    private String serviceTypeIds;
    @ApiModelProperty("服务类型名称集合")
    private String serviceTypeNames;
    @ApiModelProperty("报价")
    private String quotation;
    @ApiModelProperty("公司介绍")
    private String companyProfile;
    @ApiModelProperty("商务信息")
    private String businessInformation;
    @ApiModelProperty("初始评分")
    private Integer initEvaluation;
    @ApiModelProperty("综合评分")
    private Double finalEvaluation;

    @ApiModelProperty("导入标记(1非导入,2导入)")
    private Integer importFlag;

    @ApiModelProperty("供应商状态(0禁用、1启用)")
    private Integer state;

    @ApiModelProperty(value = "已承接的课程数量", hidden = true)
    private Integer numberOfCourses;

    @ApiModelProperty(value = "供应商综合评价", hidden = true)
    @TableField(exist = false)
    private String evaluation;

    @ApiModelProperty(value = "合同状态", hidden = true)
    @TableField(exist = false)
    private String contractState;
}
